projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0eae5b
)
(imenu--mouse-menu): Add special handling for rescan item.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 18 Sep 1996 22:18:14 +0000
(22:18 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 18 Sep 1996 22:18:14 +0000
(22:18 +0000)
lisp/imenu.el
patch
|
blob
|
history
diff --git
a/lisp/imenu.el
b/lisp/imenu.el
index 64ceb7a0cb1eba06c520fc72acfffef48409a913..323a279efefb4af13cb2efaa9d43c2a3fb8e13a9 100644
(file)
--- a/
lisp/imenu.el
+++ b/
lisp/imenu.el
@@
-729,7
+729,8
@@
Returns t for rescan and otherwise an element or subelement of INDEX-ALIST."
(while position
(setq final (assoc (car position) final))
(setq position (cdr position)))
- (cdr (cdr (cdr final)))))
+ (or (string= (car final) (car imenu--rescan-item))
+ (cdr (cdr (cdr final))))))
;; If x-popup-menu went just one level and found a leaf item,
;; return the INDEX-ALIST element for that.
((and (consp position)